#pragma once
#include <max.h>
#include <IGame/IGame.h>
#include "iNodeData.h"


typedef IGameMaterial iMaxMaterial;
typedef IGameTextureMap iMaxTextureMap;
typedef GMatrix iMaxMatrix;
class iMaxInterface
{
public:
	iMaxInterface( Interface* pIMax, IGameScene* pIgame );
	~iMaxInterface(void);

	int GetTopLeverlNodeCount()
	{
		return m_pIGameScene->GetTopLevelNodeCount();
	}
	int GetTotalNodeCount()
	{
		return m_pIGameScene->GetTotalNodeCount();
	}
	iNodeData* GetTopLevelNode(  int idx )
	{
		return (iNodeData*)m_pIGameScene->GetTopLevelNode( idx );
	}
	int GetRootMaterialCount()
	{
		return m_pIGameScene->GetRootMaterialCount();
	}
	iMaxMaterial* GetRootMaterial( int index )
	{
		return m_pIGameScene->GetRootMaterial( index );
	}

public:
	IGameScene* m_pIGameScene;
	Interface* m_pInterface;
};
